package com.jiutong.meipenggang.entity;

import java.io.Serializable;
import java.util.List;

/**
 * @author Veken
 * @date on 2017/12/20 13:44
 * @describe
 */

public class ProvinceAndCityBean extends BaseBean implements Serializable {


    /**
     * cityList : [{"provinceCode":10,"cityName":"大连市","cityCode":1010},{"provinceCode":11,"cityName":"唐山市","cityCode":1110}]
     * error : -1
     * provincesList : [{"name":"辽宁","code":10},{"name":"河北","code":11},{"name":"福建","code":12}]
     */

    private List<CityListBean> cityList;
    private List<ProvincesListBean> provincesList;

    public List<CityListBean> getCityList() {
        return cityList;
    }

    public void setCityList(List<CityListBean> cityList) {
        this.cityList = cityList;
    }

    public List<ProvincesListBean> getProvincesList() {
        return provincesList;
    }

    public void setProvincesList(List<ProvincesListBean> provincesList) {
        this.provincesList = provincesList;
    }

    public static class CityListBean implements Serializable{
        /**
         * provinceCode : 10
         * cityName : 大连市
         * cityCode : 1010
         */

        private int provinceCode;
        private String cityName;
        private int cityCode;

        public int getProvinceCode() {
            return provinceCode;
        }

        public void setProvinceCode(int provinceCode) {
            this.provinceCode = provinceCode;
        }

        public String getCityName() {
            return cityName;
        }

        public void setCityName(String cityName) {
            this.cityName = cityName;
        }

        public int getCityCode() {
            return cityCode;
        }

        public void setCityCode(int cityCode) {
            this.cityCode = cityCode;
        }
    }

    public static class ProvincesListBean implements Serializable {
        /**
         * name : 辽宁
         * code : 10
         */

        private String name;
        private int code;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getCode() {
            return code;
        }

        public void setCode(int code) {
            this.code = code;
        }
    }
}
